import { post } from '../index'

export const getUserRoutes = (data) => {
  return new Promise(resolve => {
    resolve(post('/vue-next-element-plus-admin/router/get-routes', data, { showSuccessMsg: false }))
  })
}
